package com.frame.work.mqtt;

/**
 * zyzn/api/device/{gatewayMac}/
 */
public interface Topic {
    String father = "zyzn/";
    String two_api = "api/";
    String three_device = "device/";
    String group = "/group";
    String relay = "/relay";
    String linkage = "/linkage";

    String gateway = "/gateway";
    String zigbee = "/zigbee";
    String wifi = "/wifi";
    String timedTask="/timedTask";

    /**
     * 设备相关主题
     */
    interface device {
        String topics = father + two_api + three_device;
    }

    /**
     * s
     * 群组相关的主题结构
     */
    interface groupMsg {
        String add = "/add";
        String del = "/delete";
        String update = "/update";
        String delayTime = "/delayTime";
    }
}
